<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-iCablePit-add">
			<div class="form-group" hidden>
				<label class="col-sm-3 control-label">所属点位ID：</label>
				<div class="col-sm-8">
					<input id="pId" name="pId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group" hidden>
				<label class="col-sm-3 control-label">变压器ID：</label>
				<div class="col-sm-8">
					<input id="byqId" name="byqId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group" hidden>
				<label class="col-sm-3 control-label">线路ID：</label>
				<div class="col-sm-8">
					<input id="lineId" name="lineId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">运行编号：</label>
				<div class="col-sm-8">
					<input id="runCode" name="runCode" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">电缆井类型：</label>
				<div class="col-sm-8">
					<input id="type" name="type" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">资产单位：</label>
				<div class="col-sm-8">
					<input id="unit" name="unit" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">运维班组：</label>
				<div class="col-sm-8">
					<input id="runTeam" name="runTeam" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">电缆井用途：</label>
				<div class="col-sm-8">
					<input id="purpose" name="purpose" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group" hidden>
				<label class="col-sm-3 control-label">创建人：</label>
				<div class="col-sm-8">
					<input id="addUser" name="addUser" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group" hidden>
				<label class="col-sm-3 control-label">创建日期：</label>
				<div class="col-sm-8">
					<input id="addDate" name="addDate" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group" hidden>
				<label class="col-sm-3 control-label">最近更新人：</label>
				<div class="col-sm-8">
					<input id="updateUser" name="updateUser" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group" hidden>
				<label class="col-sm-3 control-label">最近更新日期：</label>
				<div class="col-sm-8">
					<input id="updateDate" name="updateDate" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group" hidden>
				<label class="col-sm-3 control-label">数据状态：</label>
				<div class="col-sm-8">
					<input id="datastate" name="datastate" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "assets/iCablePit"
		$("#form-iCablePit-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-iCablePit-add').serialize());
	        }
	    }
	</script>
</body>
</html>
